home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / graphics / rastport.h < prev    next >
C/C++ Source or Header  |  1988-07-15  |  1KB  |  78 lines

  1. #ifndef    GRAPHICS_RASTPORT_H
  2. #define    GRAPHICS_RASTPORT_H
  3. #ifndef    GRAPHICS_GFX_H
  4. #include    <graphics/gfx.h>
  5. #endif
  6. struct    AreaInfo
  7. {
  8. SHORT    *VctrTbl;
  9. SHORT    *VctrPtr;
  10. BYTE    *FlagTbl;
  11. BYTE    *FlagPtr;
  12. SHORT    Count;
  13. SHORT    MaxCount;
  14. SHORT    FirstX,FirstY;
  15. };
  16. struct    TmpRas
  17. {
  18. BYTE    *RasPtr;
  19. LONG    Size;
  20. };
  21. struct    GelsInfo
  22. {
  23. BYTE    sprRsrvd;
  24. UBYTE    Flags;
  25. struct    VSprite    *gelHead,    *gelTail;
  26. WORD    *nextLine;
  27. WORD    **lastColor;
  28. struct    collTable    *collHandler;
  29. short    leftmost,    rightmost,    topmost,    bottommost;
  30. APTR    firstBlissObj,lastBlissObj;
  31. };
  32. struct    RastPort
  33. {
  34. struct    Layer    *Layer;
  35. struct    BitMap    *BitMap;
  36. USHORT    *AreaPtrn;
  37. struct    TmpRas    *TmpRas;
  38. struct    AreaInfo    *AreaInfo;
  39. struct    GelsInfo    *GelsInfo;
  40. UBYTE    Mask;
  41. BYTE    FgPen;
  42. BYTE    BgPen;
  43. BYTE    AOlPen;
  44. BYTE    DrawMode;
  45. BYTE    AreaPtSz;
  46. BYTE    linpatcnt;
  47. BYTE    dummy;
  48. USHORT    Flags;
  49. USHORT    LinePtrn;
  50. SHORT    cp_x,    cp_y;
  51. UBYTE    minterms[8];
  52. SHORT    PenWidth;
  53. SHORT    PenHeight;
  54. struct    TextFont    *Font;
  55. UBYTE    AlgoStyle;
  56. UBYTE    TxFlags;
  57. UWORD    TxHeight;
  58. UWORD    TxWidth;
  59. UWORD    TxBaseline;
  60. WORD    TxSpacing;
  61. APTR    *RP_User;
  62. ULONG    longreserved[2];
  63. #ifndef    GFX_RASTPORT_1_2
  64. UWORD    wordreserved[7];
  65. UBYTE    reserved[8];
  66. #endif
  67. };
  68. #define    JAM1    0
  69. #define    JAM2    1
  70. #define    COMPLEMENT    2
  71. #define    INVERSVID    4
  72. #define    FRST_DOT    0x01
  73. #define    ONE_DOT    0x02
  74. #define    DBUFFER    0x04
  75. #define    AREAOUTLINE    0x08
  76. #define    NOCROSSFILL    0x20
  77. #endif
  78.